package com.hg.library.widget;

import android.database.Observable;

/**
 * Created by ASUS-PC on 2016/7/6.
 */
public class CuteObservable extends Observable<CuteObserver> {

    /**
     * 更新数据
     */
    public void notifyChanged() {
        synchronized(mObservers) {
            for (int i = mObservers.size() - 1; i >= 0; i--) {
                mObservers.get(i).onChanged();
            }
        }
    }
}
